﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="style/css/index.css" />
	<script type="text/javascript">
		/** // 删除菜品项
		function removeSorder(node) {
			var gid = node.lang;
			window.location.href = "/wirelessplatform/sorder.html?method=removeSorder&gid="+gid;
		}
		
		// 修改菜品项数量
		function alterSorder(node) {
			var snumber = node.value;
			var gid = node.lang;
			window.location.href = "/wirelessplatform/sorder.html?method=alterSorder&gid="+gid+"&snumber="+snumber;
		}
		*/
		// 下单
		function genernateOrder() {
			window.location.href = "clientOrderList.html";
		}
	</script>
</head>

<body style="text-align:center;">
	<div id="all" style="margin:0 auto">
		<div id="menu">
			<!-- 餐车div -->
			<div id="count" >
				<table align="center" width="100%" border=1px >
					<tr height="40">
				 		<td align="center" width="20%">菜名</td>
				 		<td align="center" width="20%">单价</td>
				 		<td align="center" width="20%">数量</td>
				 		<td align="center" width="20%">小计</td>
				 		<td align="center" width="20%">操作</td>
				 	</tr>
					<tr height="60">
					 		<td align="center" width="20%">烤乳猪</td>
					 		<td align="center" width="20%">￥68.0</td>
					 		<td align="center" width="20%">
					 			<input type="text" value="1" size="3" lang="3" onblur="alterSorder(this)"/>
					 		</td>
					 		<td align="center" width="20%">68.0</td>
					 		<td align="center" width="20%">
								<a onclick="removeSorder(this)">删除</a>
								<a onclick="genernateOrder()">下单</a>
					 		</td>
				 	</tr>

					<tr>
						<td colspan="6" align="right">总计:
							<span style="font-size:36px;">&yen;&nbsp;68.0</span>
							
						</td>
					</tr>
					
				</table>
			</div>
		</div>
		<div id="dish_class">
			

			<div id="dish_2">
				<ul>
					
						<li>
							<a href="caidan.caidan.jsp" style="color:white">粤菜</a>
						</li>
					
						<li>
							<a href="chuancai.chuancai.jsp" style="color:white">川菜</a>
						</li>
					
						<li>
							<a href="chuancai.chuancai.jsp" style="color:white">湘菜</a>
						</li>
					
						<li>
							<a href="chuancai.chuancai.jsp" style="color:white">东北菜</a>
						</li>
					
				</ul>
			</div>
			<div id="dish_3">
				<!-- 搜索菜品表单  -->
				<form action="#" method="post">
					<table width="166px">
						<tr>
							<td>
								<a href="clientOrderList.html">
									<img src="style/images/btn_Bg.png" width="150px" height="50px" style="margin-top:100px;"/>
								</a>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
		
	</div>
</body>
</html>
